package net.yxsoft.enumclass;

import rapid.core.EnumClsBase;

import java.util.ArrayList;
import java.util.List;

public class EditorTypesEnumCls extends EnumClsBase<EditorTypesEnumCls> {

  public EditorTypesEnumCls(String text, String value) {
    super(text, value);
  }

  public static EditorTypesEnumCls text = new EditorTypesEnumCls("文本输入框", "textbox");

  public static EditorTypesEnumCls number = new EditorTypesEnumCls("数字输入框", "numberbox");

  public static EditorTypesEnumCls digitbox = new EditorTypesEnumCls("带小数点的数字框", "digitbox");

  public static List<EditorTypesEnumCls> COLLECTS_DEFAULTS = new ArrayList<EditorTypesEnumCls>() {
    {
      add(text);
      add(number);
      add(digitbox);
    }
  };
}
